package com.project.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Title: SupplierBean
 * @Package: com.project.bean
 * @Description:
 * @Author: Liang-Xie
 */
@SuppressWarnings("all")
/**
 * 供应商实体类
 */
@ExcelTarget("suppliers")
@TableName("t_supplier")
public class SupplierBean {
    /**
     * 编号
     */
    @Excel(name = "编号")
    @TableId(value = "pk_supplierId", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    @Excel(name = "名称")
    @TableField(value = "s_name")
    private String name;
    /**
     * 负责人
     */
    @Excel(name = "负责人")
    @TableField(value = "s_user")
    private String user;
    /**
     * 经营范围
     */
    @Excel(name = "经营范围")
    @TableField(value = "s_scope")
    private String scope;
    /**
     * 地址
     */
    @Excel(name = "地址")
    @TableField(value = "s_address")
    private String address;
    /**
     * 责任人电话
     */
    @Excel(name = "责任人电话")
    @TableField(value = "s_phone")
    private String phone;

    public SupplierBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "SupplierBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", user='" + user + '\'' +
                ", scope='" + scope + '\'' +
                ", address='" + address + '\'' +
                ", Phone='" + phone + '\'' +
                "\n";
    }
}
